import json

from config import BASE_PATH


def read_json(filename):
    with open(filename,"r",encoding="utf8")as f:
        js=json.load(f)
        list1=[]
        for i in js:
            val=i.values()
            tmp=tuple(val)
            list1.append(tmp)
        return list1
if __name__ == '__main__':
    filename=BASE_PATH+"/data/login.json"
    res=read_json(filename)
    print(res)

